<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title>学员列表</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../css/public.css">
	<link rel="stylesheet" href="../../css/use.css" media="all" />
</head>

<body>
	<form class="layui-form layui-form-pane">
		<blockquote class="layui-elem-quote quoteBox mod_default_box">
			<!-- <form class="layui-form layui-form-pane"> -->
			<div class="layui-collapse layui-form-item" lay-accordion>
				<div class="layui-colla-item">
					<h2 class="layui-colla-title">展开检索</h2>
					<!--class="layui-colla-content layui-show" 默认显示 -->
					<div class="layui-colla-content">
						<div class="layui-form-item">
							<div class="layui-inline">
								<label for="searchtName" class="layui-form-label">姓　名</label>
								<div class="layui-input-inline">
									<input id="searchtName" type="text" class="layui-input search" placeholder="学员姓名" />
								</div>
							</div>
							<div class="layui-inline searchTeacher" style="display:none;">
								<label for="searchTeacher" class="layui-form-label">报名老师</label>
								<div class="layui-input-inline">
									<input id="searchTeacher" type="text" class="layui-input search"
										placeholder="报名老师" />
								</div>
							</div>
							<div class="layui-inline">
								<label for="educationType" class="layui-form-label">学历类型</label>
								<div class="layui-input-inline">
									<select id="educationType">
									</select>
								</div>
							</div>
							<div class="layui-inline">
								<label for="cengci" class="layui-form-label">考生层次</label>
								<div class="layui-input-inline">
									<select id="cengci">
									</select>
								</div>
							</div>
							<div class="layui-inline">
								<label for="searchCardid" class="layui-form-label">身份证</label>
								<div class="layui-input-inline">
									<input id="searchCardid" type="text" class="layui-input search"
										placeholder="学员身份证号码" />
								</div>
							</div>
							<div class="layui-inline">
								<label for="searchSchool" class="layui-form-label">报考院校</label>
								<div class="layui-input-inline">
									<input id="searchSchool" type="text" class="layui-input search"
										placeholder="报考院校" />
								</div>
							</div>
							<div class="layui-inline">
								<label for="ispay" class="layui-form-label">缴费状态</label>
								<div class="layui-input-inline">
									<select id="ispay">
										<option value="">请选择</option>
										<option value="0">待缴费</option>
										<option value="1">已缴费</option>
									</select>
								</div>
							</div>
							<div class="layui-inline">
								<label for="isBao" class="layui-form-label">报名状态</label>
								<div class="layui-input-inline">
									<select id="isBao">
										<option value="">请选择</option>
										<option value="0">待报名</option>
										<option value="1">已报名</option>
									</select>
								</div>
							</div>
							<div class="layui-inline">
								<label for="province" class="layui-form-label">黑龙江省</label>
								<div class="layui-input-inline">
									<select id="province">
										<option value="">请选择</option>
										<option value="1">省内</option>
										<option value="2">省外</option>
									</select>
								</div>
							</div>
							<div class="layui-inline">
								<label for="searchUnifiedExam" class="layui-form-label">统考课</label>
								<div class="layui-input-inline">
									<select id="searchUnifiedExam">
										<option value="">请选择</option>
										<option value="1">有</option>
										<option value="0">无</option>
									</select>
								</div>
							</div>
							<div class="layui-inline">
								<label for="searchPaper" class="layui-form-label">论　文</label>
								<div class="layui-input-inline">
									<select id="searchPaper">
										<option value="">请选择</option>
										<option value="1">有</option>
										<option value="0">无</option>
									</select>
								</div>
							</div>
							<div class="layui-inline">
								<label for="searchBaccalaureate" class="layui-form-label">学士学位</label>
								<div class="layui-input-inline">
									<select id="searchBaccalaureate">
										<option value="">请选择</option>
										<option value="1">有</option>
										<option value="0">无</option>
									</select>
								</div>
							</div>
							<div class="layui-inline">
								<label for="createtime" class="layui-form-label">录入时间</label>
								<div class="layui-input-inline">
									<input type="text" class="layui-input" id="createtime" placeholder="请选择">
								</div>
							</div>
							<div class="layui-inline">
								<label for="signUpTime" class="layui-form-label">报名年份</label>
								<div class="layui-input-inline">
									<input type="text" class="layui-input" id="signUpYear" placeholder="请选择">
								</div>
							</div>
							<div class="layui-inline">
								<label for="signUpTime" class="layui-form-label">报名时间</label>
								<div class="layui-input-inline">
									<select id="signUpTime">
										<option value="">请选择</option>
										<option value="0">春季</option>
										<option value="1">秋季</option>
									</select>
								</div>
							</div>
							<div class="layui-inline">
								<label for="veteran" class="layui-form-label">退伍军人</label>
								<div class="layui-input-inline">
									<select id="veteran">
										<option value="">请选择</option>
										<option value="1">是</option>
										<option value="0">否</option>
									</select>
								</div>
							</div>
							<div class="layui-inline layui-hide company">
								<label for="company" class="layui-form-label">所属公司</label>
								<div class="layui-input-inline">
									<select id="company">
									</select>
								</div>
							</div>
							<div class="layui-inline layui-hide recycle_bin">
								<label for="recycle_bin" class="layui-form-label">回收站</label>
								<div class="layui-input-inline">
									<select id="recycle_bin" lay-filter="recycle_bin">
										<option value="0">未删除</option>
										<option value="1">已删除</option>
									</select>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="layui-collapse layui-form-item layui-hide updates" lay-accordion>
				<div class="layui-colla-item">
					<h2 class="layui-colla-title">批量修改</h2>
					<div class="layui-colla-content">
						<div class="layui-inline" id="updateTeacher">
							<label for="tName" class="layui-form-label layui-bg-green layui-btn">
								批量修改
							</label>
							<div class="layui-input-inline">
								<select id="tName">
									<option value="">报名老师</option>
								</select>
							</div>
						</div>
						<div class="layui-inline" id="updateSchool">
							<label for="school" class="layui-form-label layui-bg-green layui-btn">
								批量修改
							</label>
							<div class="layui-input-inline">
								<input id="school" type="text" class="layui-input" placeholder="报考院校" />
							</div>
						</div>
						<div class="layui-inline" id="updateSignUpTime">
							<label for="updateTime" class="layui-form-label layui-bg-green layui-btn">
								批量修改
							</label>
							<div class="layui-input-inline">
								<select id="updateTime">
									<option value="">报名季度</option>
									<option value="0">春季</option>
									<option value="1">秋季</option>
								</select>
							</div>
						</div>
						<div class="layui-inline" id="updateSignUpYear">
							<label for="updateYears" class="layui-form-label layui-bg-green layui-btn">
								批量修改
							</label>
							<div class="layui-input-inline">
								<input id="updateYear" type="text" class="layui-input" placeholder="报名年份" />
							</div>
						</div>
						<div class="layui-inline">
							<label for="updateVeteran" class="layui-form-label layui-bg-green layui-btn">
								批量修改
							</label>
							<div class="layui-input-inline">
								<select id="updateVeteran">
									<option value="">退伍军人</option>
									<option value="1">是</option>
									<option value="0">否</option>
								</select>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="layui-form-item layui-block">
				<a class="layui-btn search_btn" data-type="reload">搜索</a>
				<!-- <button type="reset" class="layui-btn">重置</button> -->
				<a class="layui-btn addNews_btn">添加学员</a>
				<button id="openExcel" type="button" class="layui-btn">
					<i class="layui-icon">&#xe67c;</i>导入Excel
				</button>
				<a class="layui-btn layui-bg-blue" href="/mobileManage/static/导入数据示例表.xlsx"><i
						class="layui-icon">&#xe601;</i>下载示例Excel</a>
				<a class="layui-btn layui-btn-normal selfFilling">自主信息填报</a>
				<input id="uploadExcel" type="file" class="layui-hide">
				<!-- `/enroll/index.html?company_id=${sessionStorage["company_id"]}` -->
			</div>
			<!-- <div class="layui-inline">
					<a class="layui-btn  delAll_btn">批量删除</a>
				</div> -->
			<!-- </form> -->
		</blockquote>
	</form>
	<table id="studentList" lay-filter="studentList">
	</table>

	<!--操作-->
	<script type="text/html" id="studentListBar">
		{{# const scale = sessionStorage["scale"],user_id = sessionStorage["userId"],recycle_bin = document.querySelector('#recycle_bin').value; }}
		{{# if(recycle_bin == "0"){ }}
		<a class="layui-btn layui-btn-sm" lay-event="edit">编辑</a>
		{{# } }}
		<!-- <a class="layui-btn layui-btn-xs" lay-event="usable">已启用</a> -->
		{{# if((scale == "2" || scale == "1") && recycle_bin == "0"){ }}
			<a class="layui-btn layui-btn-warm layui-btn-sm" lay-event="fapiao">发票</a>
			{{# } }}
			{{# if(scale == "1" && recycle_bin == "0"){ }}
			<button class="layui-btn layui-btn-sm" lay-filter="ft{{d.id}}" lay-dropdown="{align:'right',menus:[{txt:'{{d.name}}'},{txt:'报名',event:'{{d.id}}-baoming'},{txt:'取消报名',event:'{{d.id}}-quxiao'},{txt:'缴费',event:'{{d.id}}-jiaofei'},{txt:'取消缴费',event:'{{d.id}}-qxjiaofei'},{txt:'确认返费',event:'{{d.id}}-isRefund'},{txt:'删除',event:'{{d.id}}-del-{{d.ispay}}'}]}">
	            <span>更多</span>
	            <i class="layui-icon layui-icon-triangle-d"></i>
           </button> {{# } }}
           {{# if(scale == "2"){ }}
			<button class="layui-btn layui-btn-sm" lay-filter="ft{{d.id}}" lay-dropdown="{align:'right',menus:[{txt:'{{d.name}}'},{txt:'删除',event:'{{d.id}}-del-{{d.ispay}}'}]}">
	            <span>更多</span>
	              <i class="layui-icon layui-icon-triangle-d"></i>
           </button> {{# } }}
           {{# if(scale >= "3"){ }}
			<button class="layui-btn layui-btn-sm" lay-filter="ft{{d.id}}" lay-dropdown="{align:'right',menus:[{txt:'{{d.name}}'},{txt:'删除',event:'{{d.id}}-del-{{d.ispay}}'},]}">
	            <span>更多</span>
	              <i class="layui-icon layui-icon-triangle-d"></i>
           </button> {{# } }}
		   {{# if(user_id == "3" && recycle_bin == "1") { }}
		   <button class="layui-btn layui-btn-sm" lay-filter="ft{{d.id}}" lay-dropdown="{align:'right',menus:[{txt:'{{d.name}}'},{txt:'从回收站恢复',event:'{{d.id}}-huifu'},{txt:'从回收站删除',event:'{{d.id}}-del-{{d.ispay}}'}]}">
				<span>更多</span>
				<i class="layui-icon layui-icon-triangle-d"></i>
			</button> {{# } }}
	</script>

	<!-- <script type="text/javascript" src="../../layui/layui.js"></script> -->
	<script src="../../layui/layui.all.js"></script>
	<script src="../../js/public.js"></script>
	<script src="../../js/xlsx.full.min.js"></script>
	<script type="text/javascript" src="studentList.js"></script>
</body>

</html>